package com.zxb.core.dao.autoform;

import com.zxb.core.dao.BaseEntity;
import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * @author Zxb
 */
@Data
public class DiyFormula extends BaseEntity {
    private Long formId;
    @NotBlank(message = "公式名称不能为空")
    private String name;
    @NotBlank(message = "公式类型不能为空")
    private String cata;
    @NotBlank(message = "公式触发机制不能为空")
    private String triggerMode;
    @NotBlank(message = "公式内容不能为空")
    private String content;
    private Integer sort;
}
